package com.jinlia.show.modules.base.model.vo;

import com.jinlia.show.modules.base.model.po.DeliveryOrderPO;
import com.jinlia.show.modules.base.system.entity.DeliveryOrder;
import lombok.Data;
import org.springframework.beans.BeanUtils;

@Data
public class DeliveryOrderVO extends DeliveryOrderPO {

    public static DeliveryOrderVO fromEntity(DeliveryOrder entity) {
        DeliveryOrderVO vo = new DeliveryOrderVO();
        BeanUtils.copyProperties(entity, vo);
        return vo;
    }


}
